* {
	box-sizing: border-box;
	font-family: 微软雅黑;
}
html,body {
    height: 100%;
}
body {
	margin: 0;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login {
    background-color: #fff;
    width: 340px;
    padding-top: 30px;
    border-radius: 5px;
}
.login img {
    display: block;
    width: 150px;
    margin: 0 auto;
}
p {
    text-align: center;
    margin: 10px 0;
    color: #888;
    padding-bottom: 5px;
}
form {
    padding: 0 30px 20px 30px;
}
input {
    height: 40px;
    width: 100%;
    margin: 5px 0;
    outline: none;
    border: 1px solid #aaa;
    padding-left: 10px;
    font-size: 14px;
}
input:focus {
    border: 1px solid #d70f18;
}
input[type=submit] {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    background-color: #d70f18;
    border: none;
    color: #fff;
    padding: 0;
    margin: 5px 0;
    cursor: pointer;
}
.error-message {
	color: #d70f18;
	margin: 3px 0;
}